#ifndef H_CONCREATE_SUBJECT_H
#define H_CONCREATE_SUBJECT_H
#include "Subject.h"
namespace ObserverMode
{
    class ConcreateSubject:public Subject
    {
    public:
        virtual void notifyObserver()
        {
            std::cout<<"具体目标发生改变..."<<_observerArr.size()<<std::endl;
            std::cout<<"============="<<std::endl;
            for(int i=0;i<_observerArr.size();i++)
            {
                std::cout<<"idx:"<<i<<std::endl;
                _observerArr.at(i)->response();
            }            
        }
    };
}
#endif